package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class LeaveStudent {
    private Long id;

    private Officialstu officialstu;//学员

    private int schoolDays;//上课天数

    private SystemDictionaryBill leaveClass;//流失班级

    private SystemDictionaryBill leavePhase;//流失阶段

    private String leaveReasion;//流失原因

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date leaveDate;//流失日期

    private Employee operator;//经办人

    private Employee saleman;//营销人员

    private Employee inputUser;//录入人员

    private int isRefund = 0;//退款状态 0否 1是

    private int auditState = 0;//审核状态 0未审核 1已审核

    private Employee auditor;//审核人

    private BigDecimal refundAmount;//退款金额

    private String qq;

    private String tel;
}